﻿
@{
    ViewBag.Title = "Index";
    Layout = null;
}

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>个人中心</title>
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <meta content="yes" name="apple-mobile-web-app-capable" />
    <meta http-equiv="cleartype" content="on">
    <link rel="stylesheet" href="~/styles/css/common/common.css">
    <link rel="stylesheet" href="~/styles/css/component/component.css">
    <link rel="stylesheet" href="~/styles/css/component/personal-center/patient-appoint.css">
    <link rel="stylesheet" href="~/styles/css/component/personal-center/cases-list.css">
    <link rel="stylesheet" href="~/styles/css/component/personal-center/case-detail.css">
    <link rel="stylesheet" href="~/styles/css/component/personal-center/my-diagnosis.css">
    <link rel="stylesheet" href="~/styles/css/component/personal-center/personal-info.css">
    <link rel="stylesheet" href="~/styles/css/personal-center.css">
</head>
<body>
    <div id="personal-center">
        <input v-model="userName" style="display:none" />
        <clinic-head v-bind:user-name="userName"></clinic-head>
        <div class="pc-middle">
            <clinic-left-tab :tab="leftTab" v-on:changetab="changeTab"></clinic-left-tab>
            <div class="middle-right">
                <div class="patient-info">
                    <img class="bg-img" src="~/styles/image/patient.png">
                    <div class="patient-head">
                        <img :src="loginInfo.picUrl" onerror="javascript: this.src = '/Styles/image/default_head.png'">
                    </div>
                    <div class="name">
                        <span id="Welcome" style="display:none">欢迎，{{loginInfo.name}}</span>
                        <a style="display: block" id="fillPersonInfo">完善个人信息>></a>
                    </div>
                    <div class="phone">{{loginInfo.mobile}}</div>
                </div>
                <!--我的预约-->
                <patient-appoint v-on:clickbtn="confirmDialog" v-on:show="showPage"  v-if="showMid == 0" ></patient-appoint>
                <!--我的病例-->
                <cases-list v-on:detail="detail" v-on:show="showPage" v-if="showMid == 1" :visit-record="visitRecord"></cases-list>
                <!--我的就诊人-->
                <my-diagnosis v-if="showMid == 3" v-on:show="showPage" v-on:del="confirmDialog"></my-diagnosis>
                <!--个人资料设置-->
                <personal-info v-if="showMid == 4" v-on:showmd="showMyDiag"></personal-info>

                <clinic-page :page-param="showPageParam" style="display:none"></clinic-page>
            </div>
        </div>

        <clinic-right></clinic-right>
        <clinic-foot></clinic-foot>

        <dialog-confirm :param="confirm" ></dialog-confirm>
    </div>
</body>

</html>
<script type="text/javascript" src="~/scripts/js/public/global.js"></script>
<script type="text/javascript" src="~/scripts/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="~/scripts/bootstrap.min.js"></script>
<script type="text/javascript" src="~/scripts/lib/vue.min.js"></script>
<script type="text/javascript" src="~/scripts/lib/vue-resource.min.js"></script>
<script type="text/javascript" src="~/scripts/js/public/common.js"></script>
<script type="text/javascript" src="~/scripts/js/component/personal-center/patient-appoint.js"></script>
<script type="text/javascript" src="~/scripts/js/component/personal-center/cases-list.js"></script>
<script type="text/javascript" src="~/scripts/js/component/personal-center/my-diagnosis.js"></script>
<script type="text/javascript" src="~/scripts/js/component/personal-center/personal-info.js"></script>
<script type="text/javascript" src="~/scripts/js/component/component.js"></script>
<script type="text/javascript" src="~/scripts/js/personal-center.js"></script>